import { ApiProperty } from '@nestjs/swagger';
import { IsEmail, IsNotEmpty } from 'class-validator';

export class SendEmailCodeDto {
  @ApiProperty({
    default: '17762101884@163.com',
  })
  @IsEmail()
  @IsNotEmpty()
  eMail: string;
}
